/*
 * plmpwm_config.h
 *
 *  Created on: Apr 30, 2017
 *      Author: yuanjianen
 */

#ifndef _PLMPWM_CONFIG_H_
#define _PLMPWM_CONFIG_H_

#include "plpwm.h"

#define TAU0_channel0			(0)
#define TAU0_channel1			(1)
#define TAU0_channel2			(2)
#define TAU0_channel3			(3)
#define TAU0_channel4			(4)
#define TAU0_channel5			(5)
#define TAU0_channel6			(6)
#define TAU0_channel7			(7)

#define LED_P 	 (0)
#define LED_BL_P (1)
#define pl_LED_P_brilliance_control(duty) 			(plpwm_set_duty(LED_P,duty))
#define pl_LED_BL_P_brilliance_control(duty) 		(plpwm_set_duty(LED_BL_P,duty))

extern const PlPwmConfig plpwm_pwm_config[];
extern const uint8 plpwm_pwm_config_count;

#endif /* _PLMPWM_CONFIG_H_ */
